New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@dazn/chaos-squirrel-attack-memory

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dazn/chaos-squirrel-attack-memory

Chaos Squirrel attack to fill memory


Version published
Maintainers
7
Created

@dazn/chaos-squirrel-attack-memory

Chaos Squirrel attack to fill memory

Usage

import MemoryAttack from '@dazn/chaos-squirrel-attack-memory';

const createMemoryAttack = MemoryAttack.configure({
  // 2gb
  size: 2000000000,
});

const memoryAttack = createMemoryAttack();
memoryAttack.start();

// 2gb of memory will be used

memoryAttack.stop(); // removes references to memory to allow GC to collect it

FAQs

Package last updated on 15 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts